package com.sss.hloster06;

public class JavaExercise31 {

	public static void main(String[] args) {
		test31();
	}

	/**
	 * *将一个数组逆序输出。
	 */
	private static void test31() {
		int[] arr01 = new int[] { 1, 2, 3, 4, 5, 6 };
		int[] arr02 = new int[arr01.length];
		for (int i = 0; i < arr01.length; i++) {

			arr02[i] = arr01[arr01.length-1 - i];
			System.out.print(arr02[i] + "  ");
		}

	}
}
